how to use __lt__ python